package com.eastfair.messagecenter.point;

import com.eastfair.core.point.PointBuilder;
import com.eastfair.messagecenter.domain.TaskInfo;
import com.eastfair.messagecenter.enumeration.ChannelType;
import com.eastfair.point.PointKeyDefinition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 加载用户权限事件埋点 业务数据
 */
@Data
//@Builder
public class SendPoint implements PointBuilder, Serializable {
    /**
     * 任务集合
     */
    @ApiModelProperty(value = "任务集合")
    private List<TaskInfo> taskInfoLists;

    /**
     * 发送渠道类型枚举  INNER_IM:站内信,SMS:短信,EMAIL:邮件
     */
    @ApiModelProperty(value = "发送渠道类型")
    private ChannelType channelType;


    @Override
    public String getPointName() {
        return PointKeyDefinition.MESSAGE_SEND_POINT;
    }
}
